Redo size constraint for NS so frames can span screens.
authorJan Djärv <jan.h.d@swipnet.se>
Thu, 19 Dec 2013 08:40:11 +0000 (09:40 +0100)
committerJan Djärv <jan.h.d@swipnet.se>
Thu, 19 Dec 2013 08:40:11 +0000 (09:40 +0100)
commitd04b9db54b3c7c9db90158779fc39be76cd0c9fb
tree2814343b5964409437af8afce1c4d43be9ddadc0
parent0a1b43eec3c05b94f011826adb6eb143a83f2081
Redo size constraint for NS so frames can span screens.

* nsterm.h (ns_output): Remove dont_constrain.

* nsterm.m (NSTRACE_SIZE, NSTRACE_RECT): New macros.
(ns_constrain_all_frames, x_set_offset): Remove assignment to
dont_constrain.
(updateFrameSize:, windowWillResize:toSize:): Add trace.
(constrainFrameRect): Remove special case nr_screens == 1.
Don't constrain size to size of view.
src/ChangeLog
src/nsterm.h
src/nsterm.m